package com.tronsis.distribution.bean;

import com.google.gson.internal.LinkedTreeMap;

/**
 * @author scofield@tronsis.com
 * @date 2019/6/21 11:14
 */
public class ScanDeliveryReq {


    /**
     * codeIds : {"additionalProp1":"string","additionalProp2":"string","additionalProp3":"string"}
     * name : string
     * phone : string
     * receiverAddr : {"detail":"string","name":"string","phone":"string","region":"string"}
     * receiverId : string
     */

    private String name;
    private String phone;
    private ReceiverAddrBean receiverAddr;
    private String receiverId;
    private LinkedTreeMap codeIds;

    public void setCodeIds(LinkedTreeMap codeIds) {
        this.codeIds = codeIds;
    }

    public LinkedTreeMap getCodeIds() {
        return codeIds;
    }

    public String getName() { return name;}

    public void setName(String name) { this.name = name;}

    public String getPhone() { return phone;}

    public void setPhone(String phone) { this.phone = phone;}

    public ReceiverAddrBean getReceiverAddr() { return receiverAddr;}

    public void setReceiverAddr(ReceiverAddrBean receiverAddr) { this.receiverAddr = receiverAddr;}

    public String getReceiverId() { return receiverId;}

    public void setReceiverId(String receiverId) { this.receiverId = receiverId;}

    public static class CodeIdsBean {
    }

    public static class ReceiverAddrBean {
        /**
         * detail : string
         * name : string
         * phone : string
         * region : string
         */

        private String detail;
        private String name;
        private String phone;
        private String region;

        public String getDetail() { return detail;}

        public void setDetail(String detail) { this.detail = detail;}

        public String getName() { return name;}

        public void setName(String name) { this.name = name;}

        public String getPhone() { return phone;}

        public void setPhone(String phone) { this.phone = phone;}

        public String getRegion() { return region;}

        public void setRegion(String region) { this.region = region;}
    }
}
